package com.guigu.buy.mapper;

import com.guigu.buy.pojo.SysRole;
import com.guigu.buy.pojo.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author com.guigu
 * @since 2024-05-15
 */
public interface SysUserMapper extends BaseMapper<SysUser> {

    List<SysRole> getRoleByUserIds(@Param("userId") Integer id);
}
